package model;

import org.hibernate.validator.constraints.NotEmpty;

import javax.validation.constraints.NotNull;

/**
 * Created by ZYT on 2015/6/17.
 */
public class SignFormModel {
    @NotEmpty(message = "username is Empty!!!")
    @NotNull(message = "username is Null!!!")
    private String username;
    @NotNull(message = "Password is Null!!!")
    @NotEmpty(message = "Password is Empty!!!")
    private String password;

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
